package com.itheima.service;

import com.itheima.domain.FilePojo;
import com.itheima.domain.User;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface FileService {

    public Boolean save(FilePojo filePojo);

    public Boolean update(FilePojo filePojo);

    public Boolean delete(Integer fid);

    public FilePojo getById(Integer fid);

    public List<FilePojo> getAll();

    List<FilePojo> selectAllFiles(String filename);
}
